﻿<!doctype html>
<html class="no-js" lang="">
<head>
    <meta charset="utf-8">
    @*<meta name="description" content="Flat, Clean, Responsive, application admin template built with bootstrap 3">*@
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">

    <title>@ViewBag.Title</title>
    @Scripts.Render("~/bundles/jquery")
    <!--[if lt IE 9]>
            <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
            <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->
</head>
<body>

    <div class="container" id="profile">
        <div class="row p10">
            <div class="col-md-4">
               @Html.Action("LeftProfile","Home")
            </div>
            <div class="col-md-8">
                <div class="content-wrap">
                    @RenderBody()
                </div>
            </div>
        </div>
    </div>

   
    @Scripts.Render("~/bundles/script")

    @Styles.Render("~/Content/css/profile")

    @Scripts.Render("~/bundles/jqueryval")

    @*@RenderSection("scripts", required: false)*@

    <script>
    $('#print_phieuhoanthanh').click(function () {
        var disp_setting = "toolbar=no,location=no,directories=yes,menubar=no,";
        disp_setting += "scrollbars=yes,width=600, height=580, left=100, top=25";
        var docprint = window.open("about:blank", "_blank", disp_setting);

        docprint.document.open();
        docprint.document.write('<html><head><title>PHIẾU HOÀN THÀNH ĐĂNG KÝ</title>');
        docprint.document.write('<style> table td:first-child {padding: 0 0.5em !important;} body {color: #59595A;}</style> <style type="text/css">@Html.Raw("@")page{size: landscape;margin: 2cm;}</style> </head><body><center>');
        docprint.document.write($("#phieuhoanthanh").parent().html());
        docprint.document.write('</center></body></html>');
        docprint.document.close();
        docprint.print();
        docprint.close();
    });
</script>                          

</body>

</html>
